extends "../daiduo-1/daiduo-1.gd"


func _extInit():
	._extInit()
	lv = 2             #等级的设置
	addSkill("<亡语>每次死亡提高自身8点三维属性，上限400，每回合触发一次", "百战")

var num = 0
#进化后继承属性
func extendsEvo(cha):
	.extendsEvo(cha)
	if cha.get("num") != null:
		self.num = cha.num	

func deathWord():
	.deathWord()
	if num < 400:
		attEx.atk += 8
		attEx.mgiAtk += 8
		attEx.def += 8
		upAtt()
		num += 20	
		